SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 55294: The error "Failed to request data from" might occur when you view the details of an alert in SAS® Anti-Money Laundering

DetailsAboutRate It

In SAS Anti-Money Laundering, an error similar to the following might appear when you view the details of an alert and access a Microsoft SQL Server database:

Failed to request data from http://rdcesx06036.race.sas.com:80/SASComplianceSolutionsMid/controller/alert/11250.json

When the error occurs, the SAS Compliance Solutions log file contains the following error:

WARN  2014-12-22 12:27:56,646 [tomcat-http--35] - Handler execution resulted in exception
com.sas.aml.service.ServiceException: Error getting Alert Details
     at com.sas.aml.service.AlertService.getAlertContent(AlertService.java:246)
     at com.sas.aml.service.AlertService.getComprehensiveAlert(AlertService.java:115)
     at com.sas.aml.spring.controller.AlertController.getAlert(AlertController.java:20)
 
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The column name create_user_id is not valid.
     at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:190)
     at com.microsoft.sqlserver.jdbc.SQLServerResultSet.findColumn(SQLServerResultSet.java:656)
     at com.microsoft.sqlserver.jdbc.SQLServerResultSet.getString(SQLServerResultSet.java:2401)
     at com.sas.aml.service.AlertService.getAlertContent(AlertService.java:167)
The error is caused by missing alert columns in the sasaml.alerts.sql query code in the sasaml.sqlserver file.

To work around the problem, follow the steps below:

  1. Edit sasaml.sqlserver in the sas.financialservices.aml.jar, which is located in the sas.financialservices.aml.war.
  2. Replace the sasaml.alert.sql query with the code below.
  3. #### Alert information
    # Alert Details
    sasaml.alert.sql= SELECT DISTINCT A.alert_id, A.alert_description, A.primary_entity_level_code, A.primary_entity_key,
    A.scenario_id, A.money_laundering_risk_score, A.terror_financing_risk_score, A.run_date, A.create_date, A.alert_status_code, 
    A.primary_entity_name, A.actual_values_text, lov.lov_type_desc, A.primary_entity_number, A.scenario_name, E.event_description,
    E.create_date as event_date, A.create_user_id as create_user_id, A.owner_user_long_id as owner_user_long_id, 
    A.alert_type_cd as alert_type_cd, A.alert_category_cd as alert_category_cd, A.alert_subcategory_cd as alert_subcategory_cd 
    FROM fsk_alert A LEFT JOIN FSK_SCENARIO S 
    ON A.scenario_id = S.scenario_id 
    LEFT JOIN fsk_lov lov 
    ON s.scenario_category_code = lov.lov_type_code AND lov.lov_type_name = 'SCENARIO CATEGORY' 
    LEFT JOIN (SELECT alert_id,event_description,create_date FROM fsk_alert_event WHERE alert_id = ? AND event_type_code = 'CLS') E 
    ON A.alert_id = E.alert_id WHERE A.alert_id = ? 
    GROUP BY A.alert_id, A.alert_description, A.primary_entity_level_code, A.primary_entity_key, A.scenario_id, 
    A.money_laundering_risk_score, A.terror_financing_risk_score, A.run_date, A.create_date, A.alert_status_code, 
    A.primary_entity_name, A.actual_values_text, lov.lov_type_desc, A.primary_entity_number, A.scenario_name, 
    E.event_description, E.create_date, A.create_user_id, A.owner_user_long_id, A.alert_type_cd, A.alert_category_cd, 
    A.alert_subcategory_cd 
    ORDER BY E.CREATE_DATE DESC 
    
    

  4. After you save the changes to sasaml.sqlserver, update the sas.financialservices.aml.jar archive with the modified file.
  5. Restart SASServer8.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Anti-Money LaunderingWindows 7 Enterprise x646.16.39.4 TS1M09.4 TS1M2
Microsoft Windows Server 2012 Std6.16.39.4 TS1M09.4 TS1M2
Microsoft Windows Server 2012 R2 Std6.16.39.4 TS1M09.4 TS1M2
Microsoft Windows Server 2012 R2 Datacenter6.16.39.4 TS1M09.4 TS1M2
Microsoft Windows Server 2008 for x646.16.39.4 TS1M09.4 TS1M2
Microsoft Windows Server 2008 R26.16.39.4 TS1M09.4 TS1M2
Microsoft Windows 8.1 Pro 32-bit6.16.39.4 TS1M09.4 TS1M2
Microsoft Windows 8.1 Pro6.16.39.4 TS1M09.4 TS1M2
Microsoft Windows 8.1 Enterprise x646.16.39.4 TS1M09.4 TS1M2
Microsoft Windows 8.1 Enterprise 32-bit6.16.39.4 TS1M09.4 TS1M2
Microsoft Windows 8 Pro x646.16.39.4 TS1M09.4 TS1M2
Solaris for x646.16.39.4 TS1M09.4 TS1M2
Linux for x646.16.39.4 TS1M09.4 TS1M2
HP-UX IPF6.16.39.4 TS1M09.4 TS1M2
64-bit Enabled Solaris6.16.39.4 TS1M09.4 TS1M2
64-bit Enabled AIX6.16.39.4 TS1M09.4 TS1M2
Windows 7 Professional x646.16.39.4 TS1M09.4 TS1M2
Microsoft Windows Server 2012 Datacenter6.16.39.4 TS1M09.4 TS1M2
Microsoft Windows 8 Enterprise x646.16.39.4 TS1M09.4 TS1M2
Microsoft® Windows® for x646.16.39.4 TS1M09.4 TS1M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.